package com.platform.common.core.domain.entity;

import com.platform.common.core.annotation.Excel;
import com.platform.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 板车对象 dic_trailer
 *
 * @author xuefk
 * @date 2023-04-04
 */
public class DicTrailer extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 板车号 */
    @Excel(name = "板车号")
    private String trailerNo;

    /** 自重 */
    @Excel(name = "自重")
    private String trailerWeight;

    /** 品牌 */
    @Excel(name = "品牌")
    private String trailerBrand;

    /** 规格 */
    @Excel(name = "规格")
    private String spec;

    /** 机场编号 */
    @Excel(name = "机场编号")
    private String airportCode;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setTrailerNo(String trailerno)
    {
        this.trailerNo = trailerno;
    }

    public String getTrailerNo()
    {
        return trailerNo;
    }
    public void setTrailerWeight(String trailerWeight)
    {
        this.trailerWeight = trailerWeight;
    }

    public String getTrailerWeight()
    {
        return trailerWeight;
    }
    public void setTrailerBrand(String trailerBrand)
    {
        this.trailerBrand = trailerBrand;
    }

    public String getTrailerBrand()
    {
        return trailerBrand;
    }
    public void setSpec(String spec)
    {
        this.spec = spec;
    }

    public String getSpec()
    {
        return spec;
    }
    public void setAirportCode(String airportCode)
    {
        this.airportCode = airportCode;
    }

    public String getAirportCode()
    {
        return airportCode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("trailerno", getTrailerNo())
                .append("trailerWeight", getTrailerWeight())
                .append("trailerBrand", getTrailerBrand())
                .append("spec", getSpec())
                .append("airportCode", getAirportCode())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
